const supGoodsDao = require("../dao/supGoodsDao")

const get = async function () {
    return await supGoodsDao.get()
}
const add = async function (parameter) {
    return await supGoodsDao.add(parameter)
}
const remove = async function (_id) {
    return await supGoodsDao.remove(_id)
}
const getOne = async function (_id) {
    return await supGoodsDao.getOne(_id)
}
const update = async function (_id, parameter) {
    return await supGoodsDao.update(_id, parameter)
}
module.exports = { get, add, remove, update ,getOne}